package com.gudaomai.ekproject.service;

import com.gudaomai.ekproject.common.CommonException;
import com.gudaomai.ekproject.entity.Page;
import com.gudaomai.ekproject.service.BaseService;

/**
 * <p>
 * 页面 服务类
 * </p>
 *
 * @author zenghualu
 * @since 2017-06-26
 */
public interface IPageService extends BaseService<Page> {

	public boolean isExist(String pageName);

	public int getSortOrder(String projectId);

	public Page getPageById(String pageId) throws CommonException;

	public Page getUpPageById(String pageId) throws CommonException;

	public Page getDownPageById(String pageId) throws CommonException;
}
